package com.bcx.crm.plat.core.database;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by ys on 2018/2/8.
 */
public class DefaultConditionQuery {
    public static final String COLLECTION_FIELD = "collectionField";
    public static final Map<String,String> condition = new HashMap<>();
    public static String get(String colName){
        return condition.get(colName);
    }
    public static void put(String key ,String value){
        condition.put(key,value);
    }
    static {
        put("doc_dept",COLLECTION_FIELD);
        put("doc_level",COLLECTION_FIELD);
        put("template_org",COLLECTION_FIELD);
    }
}
